from sqlalchemy import Column, Integer, String, BIGINT, event
from base.base_entity import BaseEntity
from config.db_sqlalchemy_config import Base


class Employee(Base, BaseEntity):
    __tablename__ = 'employee'
    id = Column(BIGINT, primary_key=True, comment="员工ID")
    name = Column(String(50), comment="员工姓名")
    age = Column(Integer, comment="员工年龄")
    department = Column(String(50), comment="部门")
